<template>
  <div class="container">
    <h2>组件的样式问题</h2>
    <p>这是App组件中的p</p>
    <my-left></my-left>
  </div>
</template>

<script>
import MyLeft from '@/components/MyLeft.vue'
export default {
  components: { MyLeft }
}
</script>

<style lang="less" scoped>
  .container {
    background-color: aliceblue;
    h2 {
      font-size: 24px;
    }
  }
  P {
    color: blue;
  }

  .container /deep/ .chp {
    background-color: skyblue;
  }
</style>